﻿using System;
using System.Xml.Serialization;

namespace SABnzbdNET.Model
{
    [Serializable, XmlRoot("slot")]
    public class FinishedJob
    {
        [XmlElement(ElementName = "nzo_id")]
        public string Id { get; set; }

        [XmlElement(ElementName = "name")]
        public string Title { get; set; }

        [XmlElement(ElementName = "status")]
        public string Status { get; set; }

        [XmlElement(ElementName = "fail_message")]
        public string ErrorMessage { get; set; }

        [XmlElement(ElementName = "size")]
        public string Size { get; set; }

        [XmlElement(ElementName = "category")]
        public string Category { get; set; }
    }
}
